package com.qtu.user_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qtu.entity.BmMember;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface SellerService extends IService<BmMember> {
    /**
     * 商品登录
     */
    Map<String,Object> BmMemberLogin(String tel, String password, HttpServletRequest request, HttpServletResponse response);
    /**
     * 注册
     */
    Map<String,String> register(BmMember bmMember);
    /**
     * 修改密码
     */
    Map<String,String> updatePassword(String oldPassword,String newPassword,String token,int id);
    /**
     * 退出登录
     */
    void loginOut(String token);
}
